<?php
$account = [
    'namespace' => 'Account',
    'middleware' => ['web']
];

Route::group($account, function() {
    Route::controller('accountLogin', 'Login' . CTR);
    Route::get('account', 'LoginController@getIndex');

    Route::group(['prefix' => 'account', 'middleware' => 'checkAccountLogin'], function () {
        /**
         * 隐式控制器路由组
         */
        Route::controllers([
            'single' => 'Single' . CTR,
            'statistic' => 'Statistic'. CTR,
        ]);
    });
});